import axios from 'axios';

export const getSyslogConfig = () => {
  return axios.get('/api/system/getSyslogConfig');
};

export const setSyslogConfig = body => {
  return axios.post('/api/system/setSyslogConfig', body, {
    headers: {
      'Content-Type': 'multipart/form-data'
    }
  });
};

export const deleteSyslogConfig = () => {
  return axios.delete('/api/system/deleteSyslogConfig');
};
